package com.fc.test.mapper.auto;

import com.fc.test.model.auto.PaperSheet;
import com.fc.test.model.auto.PaperSheetExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 票据表 PaperSheetMapper
 * @author 谢志恺_自动生成
 * @email 2251719256@qq.com
 * @date 2020-10-28 13:29:36
 */
public interface PaperSheetMapper {
      	   	      	      	      	      	      	      	      	      	      
    long countByExample(PaperSheetExample example);

    int deleteByExample(PaperSheetExample example);
		
    int deleteByPrimaryKey(Integer id);
		
    int insert(PaperSheet record);

    int insertSelective(PaperSheet record);

    List<PaperSheet> selectByExample(PaperSheetExample example);
		
    PaperSheet selectByPrimaryKey(Integer id);
		
    int updateByExampleSelective(@Param("record") PaperSheet record, @Param("example") PaperSheetExample example);

    int updateByExample(@Param("record") PaperSheet record, @Param("example") PaperSheetExample example); 
		
    int updateByPrimaryKeySelective(PaperSheet record);

    int updateByPrimaryKey(PaperSheet record);
  	  	
}